//
//  AppDelegate.swift
//  CWWeibo
//
//  Created by 张微 on 15/9/22.
//  Copyright © 2015年 张微. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window?.backgroundColor = UIColor.whiteColor()
        
        // // 实例化控制器，完成之后，会调用 viewDidLoad 方法®
        window?.rootViewController = MainVieweVC()
        // 让当前UIWindow变成keyWindow，并显示出来
        window?.makeKeyAndVisible()
        
        return true
    }

}

